import request from '@/utils/request'

// 查询商品属性列表
export function listProductAttr(query) {
  return request({
    url: '/system/spu/attrlist',
    method: 'get',
    params: query
  })
}


// 新增商品
export function addProduct(query) {
  return request({
    url: '/system/spu',
    method: 'post',
    data: query
  })
}
